<?php
include_once BASEPATH . "/application/admin/models/Login.php";

/**
 *
 *
 */
class Admin_IndexController extends Zend_Controller_Action
{
	public function init()
	{
		$this->request = $this->_request->getParams();

	}

	/*public function indexAction(){{{*/
	/**
	 *
	 *
	 */
	public function indexAction()
	{
		$this->render();
	}
	/*}}}*/

	/*public function LoginAction(){{{*/
	/**
	 *
	 *
	 */
	public function LoginAction()
	{
		$this->_helper->viewRenderer->setNoRender();

		$login = new Admin_Login($db);
		$html = $login->login($this->request["usuario"], $this->request["senha"]);

		$this->getResponse()->setBody($html);
	}
	/*}}}*/

}
?>
